package com.mesmileAI.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * @TableName api_config
 */
@TableName(value ="api_config")
@Data
public class ApiConfig implements Serializable {
    /**
     * id
     */
    @TableId(value = "id")
    private String id;

    /**
     * api地址
     */
    private String apiAddress;

    /**
     * apikey
     */

    private String apiKey;

    /**
     * apikey
     */

    private String secretKey;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 名字
     */

    private String name;

    /**
     * 备注
     */

    private String note;

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}